package org.vt.ece4564.pcw.assignment2data;

import javax.jdo.annotations.*;

import com.google.appengine.api.datastore.Key;

// Add picture and video capability later

@PersistenceCapable
public class MessageToAndroid {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key key_;
	
	@Persistent
	private String message_;
	
	@Persistent
	private String toNumber_;
	
	@Persistent
	private String username_;
	
	public MessageToAndroid(String username, String message, String toNumber) {
		username_ = username;
		message_ = message;
		toNumber_ = toNumber;
	}
	
	public void setKey(Key key) {
		key_ = key;
	}
	
	public void setUsername(String username) {
		username_ = username;
	}
	
	public void setMessage(String message) {
		message_ = message;
	}
	
	public void setToNumber(String toNumber) {
		toNumber_ = toNumber;
	}
	
	public Key getKey() {
		return key_;
	}
	
	public String getUsername() {
		return username_;
	}
	
	public String getMessage() {
		return message_;
	}
	
	public String getToNumber() {
		return toNumber_;
	}
	
}
